package com.zy.stock.quartz;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;

import com.zy.stock.service.StockTranscationService;

@Component
public class IgnoreJob {
	
	private Logger logger = LoggerFactory.getLogger(IgnoreJob.class);
	
	@Autowired
	private StockTranscationService stockTranscationService;
	
	
	
	public void ignore(){
		stockTranscationService.ignoreYesterday();
		
	}
}
